import Layout from "@/layout/index.vue";

const routes = [
  {
    path: '/',
    name: 'root',
    component: () => import('../views/home/index.vue'),
    meta: {
      title: "振石报刊",
      isKeepAlive: true
    }
  },
  {
    path: '/page',
    name: 'page',
    component: () => import('../views/newspaper-page/index.vue'),
    meta: {
      title: "版面信息",
      isKeepAlive: true
    }
  },
  {
    path: '/article',
    name: 'article',
    component: () => import('../views/article/index.vue'),
    meta: {
      title: "文章信息",
      isKeepAlive: true
    }
  },
  {
    path: '/:catchAll(.*)',
    name: 'not-found',
    component: () => import('../layout/404.vue')
  },
]
export default routes;
